#ifndef __APP_LCD_MAIN_H__
#define __APP_LCD_MAIN_H__

#define TFT_TEXTSIZE 2
#define TFT_TEXT_LENGTH (7 * TFT_TEXTSIZE + 6)
#define TFT_TEXT_WIDTH (6 * TFT_TEXTSIZE)
#define TFT_UI_START_X 15
#define TFT_UI_START_Y 180

typedef enum cal_type
{
    NO_DATA = 0,
    CAL_TOC,
    CAL_temp,
    CAL_conductivity,
    CAL_conductivityU,
    CAL_LEN,
}cal_type_t;

void Display_Line_AB(float number, cal_type_t type, int AB);    // private
void Display_Line_CD(float number, cal_type_t type, int CD);    // private
#define Display_Line_A(number, type) Display_Line_AB(number, type, 0)
#define Display_Line_B(number, type) Display_Line_AB(number, type, 1)
#define Display_Line_C(number, type) Display_Line_CD(number, type, 0)
#define Display_Line_D(number, type) Display_Line_CD(number, type, 1)


#endif /* __APP_LCD_MAIN_H__ */
